Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Room mentioning in the composer #3868

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

Velin92
Copy link
Member

@Velin92 Velin92 commented Mar 4, 2025

This PR adds support for rendering pills in the composer, alongside the auto-suggestions for them once typing the # character.

The behaviour is the same as EW, as soon as you type # you will see all the rooms with a canonical alias, and by typing more text you can filter them by searching either their name or the alias, once selecting one of the options, the room address permalink will be added to the message but rendered as a nice room pill.

Copy link

github-actions bot commented Mar 4, 2025

Warnings
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against 8fcd306

Copy link

codecov bot commented Mar 4, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
957 1 956 0
View the top 1 failed test(s) by shortest run time
MediaUploadPreviewScreenViewModelTests testVideoUploadWithCaption()
Stack Traces | 12.8s run time
Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Awaiting publisher". (.../Other/Extensions/XCTestCase.swift:43)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@Velin92 Velin92 added the pr-feature for a new feature label Mar 4, 2025
Velin92 added 8 commits March 5, 2025 17:18
to scale with the room pill
to appear in the suggestions view for the RTE, however I need to add the pills to the composer and the compatibility with the plain text composer
the right suggestion type and the suggestion text properly
also updated some tests, but we need more of them
@Velin92 Velin92 force-pushed the mauroromito/room-pills-autocompletion branch from 03be09c to 2537c29 Compare March 5, 2025 16:21
@Velin92 Velin92 marked this pull request as ready for review March 5, 2025 16:23
@Velin92 Velin92 requested a review from a team as a code owner March 5, 2025 16:23
@Velin92 Velin92 requested review from stefanceriu and removed request for a team March 5, 2025 16:23
Copy link

sonarqubecloud bot commented Mar 5, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature for a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant